# $Id: PKGBUILD 87795 2013-04-06 18:56:26Z bgyorgy $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> 
# Contributor: Angel Velasquez <angvp@archlinux.org> 
# Contributor: Miguel Useche <migueluseche(dot)skatox.com>

pkgname=turpial
pkgver=1.6.9
pkgrel=4
pkgdesc="A multi-interface Twitter client written in Python"
arch=('any')
url="http://turpial.org.ve/"
license=('GPL3')
depends=('gstreamer0.10-python' 'python2-distribute' 'python2-notify' 'pywebkitgtk')
makedepends=('python2-babel')
optdepends=('python2-gtkspell: Spell checking support')
source=(http://files.turpial.org.ve/sources/stable/$pkgname-$pkgver.tar.gz)
sha256sums=('cf059ef3010c400fd57e30081cd2d54daa0a062817c0ab4b08b7c6c7deac0177')

package() {
  cd ${srcdir}/$pkgname-${pkgver//_/-}
  
  python2 setup.py install --root=$pkgdir/ --optimize=1

  # Remove files from non-standard location
  rm $pkgdir/usr/{AUTHORS,TRANSLATORS}
}
